package com.shiku.imserver.common;

import org.tio.monitor.RateLimiterWrap;
import org.tio.server.intf.ServerAioHandler;

public class ImSessionContext extends SessionContext {
    private ServerAioHandler protocolHandler;
    protected RateLimiterWrap requestRateLimiter = null;
    protected String token = null;

    public String getToken() {
        return this.token;
    }

    public void setToken(String token2) {
        this.token = token2;
    }

    public RateLimiterWrap getRequestRateLimiter() {
        return this.requestRateLimiter;
    }

    public void setRequestRateLimiter(RateLimiterWrap requestRateLimiter2) {
        this.requestRateLimiter = requestRateLimiter2;
    }

    public ServerAioHandler getProtocolHandler() {
        return this.protocolHandler;
    }

    public ImSessionContext setProtocolHandler(ServerAioHandler protocolHandler2) {
        this.protocolHandler = protocolHandler2;
        return this;
    }
}
